package com.hejjon.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.hejjon.core.domain.entity.LibraryCategory;
import com.hejjon.domain.request.LibraryCategoryRequest;
import com.hejjon.domain.vo.LibraryCategoryVO;

import java.util.List;


public interface ILibraryCategoryService extends IService<LibraryCategory> {


    /**
     * 新增节点
     */
    void addNode(LibraryCategoryRequest req);


    /**
     * 查询知识库结构树
     */
    List<LibraryCategoryVO> listLibraryCategoryTree();


    /**
     * 移除分类树节点
     */
    boolean removeCategoryNode(String id);

}
